import { h } from 'vue';
import { Circle, CheckCircle, ArrowDown, ArrowRight, ArrowUp, CircleQuestionMark, Timer, XCircle } from 'lucide-vue-next';

export const labels = [
  {
    value: 'bug',
    label: '缺陷',
  },
  {
    value: 'feature',
    label: '功能',
  },
  {
    value: 'documentation',
    label: '文档',
  },
];

export const statuses = [
  {
    value: 'backlog',
    label: '待办',
    icon: h(CircleQuestionMark),
  },
  {
    value: 'todo',
    label: '待处理',
    icon: h(Circle),
  },
  {
    value: 'in progress',
    label: '进行中',
    icon: h(Timer),
  },
  {
    value: 'done',
    label: '已完成',
    icon: h(CheckCircle),
  },
  {
    value: 'canceled',
    label: '已取消',
    icon: h(XCircle),
  },
];

export const priorities = [
  {
    value: 'low',
    label: '低',
    icon: h(ArrowDown),
  },
  {
    value: 'medium',
    label: '中',
    icon: h(ArrowRight),
  },
  {
    value: 'high',
    label: '高',
    icon: h(ArrowUp),
  },
];
